gtk-demo: Don't rely on gdk_cursor_get_image
authorMatthias Clasen <mclasen@redhat.com>
Tue, 12 May 2015 03:06:50 +0000 (23:06 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 12 May 2015 03:06:50 +0000 (23:06 -0400)
commitcfc07fdfcf4811e0edbaf941970ac2653d57afd8
tree834ed58120dbfbf6ae8a0970cabbf1bdca86cf43
parentbe9915b16a1a820fa18bf5de800099923372568e
gtk-demo: Don't rely on gdk_cursor_get_image

This function is only implemented on X11. Instead,
just use a fixed set of cursor images from resources.
38 files changed:
demos/gtk-demo/Makefile.am
demos/gtk-demo/alias_cursor.png [new file with mode: 0644]
demos/gtk-demo/all_scroll_cursor.png [new file with mode: 0644]
demos/gtk-demo/cell_cursor.png [new file with mode: 0644]
demos/gtk-demo/col_resize_cursor.png [new file with mode: 0644]
demos/gtk-demo/copy_cursor.png [new file with mode: 0644]
demos/gtk-demo/crosshair_cursor.png [new file with mode: 0644]
demos/gtk-demo/cursors.c
demos/gtk-demo/default_cursor.png [new file with mode: 0644]
demos/gtk-demo/demo.gresource.xml
demos/gtk-demo/e_resize_cursor.png [new file with mode: 0644]
demos/gtk-demo/ew_resize_cursor.png [new file with mode: 0644]
demos/gtk-demo/grab_cursor.png [new file with mode: 0644]
demos/gtk-demo/grabbing_cursor.png [new file with mode: 0644]
demos/gtk-demo/hand_cursor.png [new file with mode: 0644]
demos/gtk-demo/help_cursor.png [new file with mode: 0644]
demos/gtk-demo/move_cursor.png [new file with mode: 0644]
demos/gtk-demo/n_resize_cursor.png [new file with mode: 0644]
demos/gtk-demo/ne_resize_cursor.png [new file with mode: 0644]
demos/gtk-demo/nesw_resize_cursor.png [new file with mode: 0644]
demos/gtk-demo/no_drop_cursor.png [new file with mode: 0644]
demos/gtk-demo/none_cursor.png [new file with mode: 0644]
demos/gtk-demo/not_allowed_cursor.png [new file with mode: 0644]
demos/gtk-demo/ns_resize_cursor.png [new file with mode: 0644]
demos/gtk-demo/nw_resize_cursor.png [new file with mode: 0644]
demos/gtk-demo/nwse_resize_cursor.png [new file with mode: 0644]
demos/gtk-demo/pointer_cursor.png [new file with mode: 0644]
demos/gtk-demo/progress_cursor.png [new file with mode: 0644]
demos/gtk-demo/row_resize_cursor.png [new file with mode: 0644]
demos/gtk-demo/s_resize_cursor.png [new file with mode: 0644]
demos/gtk-demo/se_resize_cursor.png [new file with mode: 0644]
demos/gtk-demo/sw_resize_cursor.png [new file with mode: 0644]
demos/gtk-demo/text_cursor.png [new file with mode: 0644]
demos/gtk-demo/vertical_text_cursor.png [new file with mode: 0644]
demos/gtk-demo/w_resize_cursor.png [new file with mode: 0644]
demos/gtk-demo/wait_cursor.png [new file with mode: 0644]
demos/gtk-demo/zoom_in_cursor.png [new file with mode: 0644]
demos/gtk-demo/zoom_out_cursor.png [new file with mode: 0644]